/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.risk.control.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hopes.bizz.risk.control.bo.RiskUnitStopBO;
import com.hopes.bizz.risk.control.dto.RiskUnitStopExcelDTO;
import com.hopes.bizz.risk.control.entity.RiskUnitStopEntity;
import com.hopes.bizz.risk.control.vo.RiskUnitStopExcelVO;
import com.hopes.bizz.risk.control.vo.RiskUnitStopVO;
import com.hopes.boss.common.service.ExcelService;

import java.util.List;

/**
 * 装置停用检维修记录
 *
 * @author cx
 * @date 2023-07-17 19:39:27
 */
public interface RiskUnitStopService extends ExcelService<RiskUnitStopExcelDTO, RiskUnitStopExcelVO, RiskUnitStopEntity> {

    Object getRiskObjectById(String id);

    /* 查询当前时间正在检维修的数据 */
    List<RiskUnitStopEntity> queryIsStopForList(RiskUnitStopBO riskUnitStop);

    IPage<RiskUnitStopVO> getRiskUnitStopPage(IPage<?> page, RiskUnitStopBO riskUnitStopBO);

    /**
     * @Description 根据uid查询
     * @Author lyb
     * @Date 2024/2/4
     **/
    RiskUnitStopEntity getByUid(String id);
}